package com.studyv3.test.domain.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.studyv3.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
@Data
public class StockApplyWasteVo {

    private static final long serialVersionUID = 1L;
    @Excel(name = "序号")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @Excel(name = "物品id")
    @ApiModelProperty(value = "物品id")
    private Integer productsId;

    @Excel(name = "物品名称")
    @ApiModelProperty(value = "物品名称")
    private String productsName;

    @Excel(name = "批次id")
    @ApiModelProperty(value = "批次id")
    private Integer batchId;

    @Excel(name = "批次名称")
    @ApiModelProperty(value = "批次名称")
    private String batchName;

    @Excel(name = "物品数量")
    @ApiModelProperty(value = "物品数量")
    private Long productsNum;

    @Excel(name = "报废申请的数量")
    @ApiModelProperty(value = "待报废的数量")
    private Long productsUnqualified;

    @Excel(name = "领用申请中的数量")
    @ApiModelProperty(value = "申请中的数量")
    private Long productsApply;

    @Excel(name = "到期日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDateTime endDate;

    @Excel(name = "入库日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDateTime warehousDate;


    @ApiModelProperty(value = "库存预警数量")
    private Integer warnNum;
    @ApiModelProperty(value = "预警状态0充足1不足")
    private Integer warn;
    private Integer applyWasteId;

    private Integer flag;
    private String applicant;
    private String objectAmount;

}
